.class Les/xe$e;
.super Ljava/lang/Object;
.source "AnalysisManager.java"

# interfaces
.implements Les/xe$f;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/xe;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "e"
.end annotation


# instance fields
.field private final a:Ljava/util/HashSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashSet<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field final synthetic b:Les/xe;


# direct methods
.method constructor <init>(Les/xe;[Ljava/lang/Integer;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xe$e;->b:Les/xe;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance p1, Ljava/util/HashSet;

    invoke-direct {p1}, Ljava/util/HashSet;-><init>()V

    iput-object p1, p0, Les/xe$e;->a:Ljava/util/HashSet;

    if-eqz p2, :cond_0

    .line 3
    invoke-static {p2}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object p2

    invoke-virtual {p1, p2}, Ljava/util/HashSet;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method


# virtual methods
.method a(I)V
    .locals 2

    .line 1
    iget-object v0, p0, Les/xe$e;->a:Ljava/util/HashSet;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/xe$e;->a:Ljava/util/HashSet;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v1, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    .line 3
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public a(Ljava/lang/String;IZ)V
    .locals 2
    .annotation build Landroidx/annotation/WorkerThread;
    .end annotation

    .line 4
    iget-object p1, p0, Les/xe$e;->b:Les/xe;

    invoke-static {p1}, Les/xe;->a(Les/xe;)Les/xe$e;

    move-result-object p1

    if-eq p1, p0, :cond_0

    return-void

    .line 5
    :cond_0
    iget-object p1, p0, Les/xe$e;->a:Ljava/util/HashSet;

    monitor-enter p1

    .line 6
    :try_start_0
    iget-object p3, p0, Les/xe$e;->a:Ljava/util/HashSet;

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {p3, v0}, Ljava/util/HashSet;->remove(Ljava/lang/Object;)Z

    .line 7
    iget-object p3, p0, Les/xe$e;->a:Ljava/util/HashSet;

    invoke-virtual {p3}, Ljava/util/HashSet;->isEmpty()Z

    move-result p3

    if-eqz p3, :cond_1

    .line 8
    iget-object p3, p0, Les/xe$e;->b:Les/xe;

    const/4 v0, 0x1

    invoke-static {p3, v0}, Les/xe;->a(Les/xe;Z)Z

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 9
    :goto_0
    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 10
    iget-object p1, p0, Les/xe$e;->b:Les/xe;

    invoke-static {p1}, Les/xe;->b(Les/xe;)Ljava/util/concurrent/CopyOnWriteArrayList;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p3

    if-eqz p3, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Les/xe$f;

    .line 11
    iget-object v1, p0, Les/xe$e;->b:Les/xe;

    invoke-static {v1}, Les/xe;->c(Les/xe;)Ljava/lang/String;

    move-result-object v1

    invoke-interface {p3, v1, p2, v0}, Les/xe$f;->a(Ljava/lang/String;IZ)V

    goto :goto_1

    :cond_2
    return-void

    :catchall_0
    move-exception p2

    .line 12
    :try_start_1
    monitor-exit p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_3

    :goto_2
    throw p2

    :goto_3
    goto :goto_2
.end method
